package middleware

import (
	"github.com/gin-gonic/gin"
)

// 请求进入日志
func RequestInLog(c *gin.Context) {

}

// 请求输出日志
func RequestOutLog(c *gin.Context) {

}

func RequestLog() gin.HandlerFunc {
	return func(c *gin.Context) {
		RequestInLog(c)
		defer RequestOutLog(c)
		c.Next()
	}
}
